package com.dragon.modules.yuegou.model.member;

import com.dragon.modules.yuegou.entity.member.PtTurntableExtractPrizeEntity;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 大转盘奖品抽取记录模型类
 * 
 * @author pbuilder generated
 * @date 2021-12-21 15:52:36
 * @company sgy
 * @version 2.0
 * @see Length 长度限制
 * @see NotNull 对象非空
 * @see NotEmpty 字符串、集合、表、数组非空
 */
public class PtTurntableExtractPrize extends PtTurntableExtractPrizeEntity {

	@ApiModelProperty("会员手机号")
	private String memberMobile;

	@ApiModelProperty("核销商户")
	private String merchantName;

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public String getMemberMobile() {
		return memberMobile;
	}

	public void setMemberMobile(String memberMobile) {
		this.memberMobile = memberMobile;
	}

	/**
	 * 构造一个空大转盘奖品抽取记录模型对象
	 */
	public PtTurntableExtractPrize(){
		super();
	}
	
	/**
	 * 依据实体对象的信息构造一个大转盘奖品抽取记录模型对象
	 * 
	 * @param entity 实体对象
	 */
	public PtTurntableExtractPrize(PtTurntableExtractPrizeEntity entity){
		super(entity);
	}

	/**
	 * 依据其它对象的信息构造一个大转盘奖品抽取记录模型对象
	 * 
	 * @param other 其它对象
	 */
	public PtTurntableExtractPrize(PtTurntableExtractPrize other){
		super(other);
	}


	@Override
	public String getId() {
    	return id;
    }

    /**
	 * 设置id
	 * 
	 * @param id id
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize id(String id) {
    	this.id = id;
    	return this;
    }

	@Override
	public String getBusdId() {
    	return busdId;
    }

    /**
	 * 设置商圈id
	 * 
	 * @param busdId 商圈id
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize busdId(String busdId) {
    	this.busdId = busdId;
    	return this;
    }

	@Override
	public String getTurntableId() {
    	return turntableId;
    }

    /**
	 * 设置大转盘ID
	 * 
	 * @param turntableId 大转盘ID
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize turntableId(String turntableId) {
    	this.turntableId = turntableId;
    	return this;
    }

	@Override
	public String getPageCode() {
    	return pageCode;
    }

    /**
	 * 设置页面标识
	 * 
	 * @param pageCode 页面标识
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize pageCode(String pageCode) {
    	this.pageCode = pageCode;
    	return this;
    }

	@Override
	public String getPrizeId() {
    	return prizeId;
    }

    /**
	 * 设置奖品ID
	 * 
	 * @param prizeId 奖品ID
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize prizeId(String prizeId) {
    	this.prizeId = prizeId;
    	return this;
    }

	@Override
	public String getMemberId() {
    	return memberId;
    }

    /**
	 * 设置会员ID
	 * 
	 * @param memberId 会员ID
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize memberId(String memberId) {
    	this.memberId = memberId;
    	return this;
    }

	@Override
	public String getMemberName() {
    	return memberName;
    }

    /**
	 * 设置会员名称
	 * 
	 * @param memberName 会员名称
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize memberName(String memberName) {
    	this.memberName = memberName;
    	return this;
    }

	@Override
	public Integer getConsumePoint() {
    	return consumePoint;
    }

    /**
	 * 设置消耗积分数量
	 * 
	 * @param consumePoint 消耗积分数量
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize consumePoint(Integer consumePoint) {
    	this.consumePoint = consumePoint;
    	return this;
    }

	@Override
	public Boolean getGainPrize() {
    	return gainPrize;
    }

    /**
	 * 设置是否中奖
	 * 
	 * @param gainPrize 是否中奖
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize gainPrize(Boolean gainPrize) {
    	this.gainPrize = gainPrize;
    	return this;
    }

	@Override
	public String getGoodsId() {
    	return goodsId;
    }

    /**
	 * 设置中奖商品ID
	 * 
	 * @param goodsId 中奖商品ID
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize goodsId(String goodsId) {
    	this.goodsId = goodsId;
    	return this;
    }

	@Override
	public String getGoodsName() {
    	return goodsName;
    }

    /**
	 * 设置商品名称
	 * 
	 * @param goodsName 商品名称
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize goodsName(String goodsName) {
    	this.goodsName = goodsName;
    	return this;
    }

	@Override
	public String getOrderId() {
    	return orderId;
    }

    /**
	 * 设置订单ID
	 * 
	 * @param orderId 订单ID
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize orderId(String orderId) {
    	this.orderId = orderId;
    	return this;
    }

	@Override
	public Boolean getReceiveStatus() {
    	return receiveStatus;
    }

    /**
	 * 设置领取状态
	 * 
	 * @param receiveStatus 领取状态
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize receiveStatus(Boolean receiveStatus) {
    	this.receiveStatus = receiveStatus;
    	return this;
    }

	@Override
	public LocalDateTime getCreatedTime() {
    	return createdTime;
    }

    /**
	 * 设置获取时间/创建时间
	 * 
	 * @param createdTime 获取时间/创建时间
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize createdTime(LocalDateTime createdTime) {
    	this.createdTime = createdTime;
    	return this;
    }

	@Override
	public String getCreatedBy() {
    	return createdBy;
    }

    /**
	 * 设置
	 * 
	 * @param createdBy 
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize createdBy(String createdBy) {
    	this.createdBy = createdBy;
    	return this;
    }

	@Override
	public LocalDateTime getModifiedTime() {
    	return modifiedTime;
    }

    /**
	 * 设置
	 * 
	 * @param modifiedTime 
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize modifiedTime(LocalDateTime modifiedTime) {
    	this.modifiedTime = modifiedTime;
    	return this;
    }

	@Override
	public String getModifiedBy() {
    	return modifiedBy;
    }

    /**
	 * 设置
	 * 
	 * @param modifiedBy 
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize modifiedBy(String modifiedBy) {
    	this.modifiedBy = modifiedBy;
    	return this;
    }

	@Override
	public Boolean getDel() {
    	return del;
    }

    /**
	 * 设置删除 0-未删除；1-已删除
	 * 
	 * @param del 删除 0-未删除；1-已删除
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize del(Boolean del) {
    	this.del = del;
    	return this;
    }

	@Override
	public LocalDateTime getDelTime() {
    	return delTime;
    }

    /**
	 * 设置
	 * 
	 * @param delTime 
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize delTime(LocalDateTime delTime) {
    	this.delTime = delTime;
    	return this;
    }

	@Override
	public String getDelBy() {
    	return delBy;
    }

    /**
	 * 设置
	 * 
	 * @param delBy 
	 * @return 当前对象
	 */
    public PtTurntableExtractPrize delBy(String delBy) {
    	this.delBy = delBy;
    	return this;
    }

}
